home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 19.zip / BS1 part 19 / Lattice C disk 4.adf / Compiler_Headers / ios1.h < prev    next >
C/C++ Source or Header  |  1988-11-07  |  559b  |  36 lines

  1. #ifndef UFB_RA
  2. /**
  3. *
  4. * The following structure is a UNIX file block that retains information about
  5. * a file being accessed via the level 1 I/O functions.
  6. */
  7. struct UFB
  8. {
  9. int ufbflg;        /* flags */
  10. long ufbfh;        /* file handle */
  11. };
  12. #define NUFBS 40    /* number of UFBs defined */
  13.  
  14. /*
  15. *
  16. * UFB.ufbflg definitions
  17. *
  18. */
  19.  
  20. #define UFB_RA 1    /* reading is allowed */
  21. #define UFB_WA 2    /* writing is allowed */
  22. #define UFB_NC 4    /* no close */
  23.  
  24. /**
  25. *
  26. * External definitions
  27. *
  28. */
  29.  
  30. #ifndef NARGS
  31. extern struct UFB *chkufb(int);
  32. #else
  33. extern struct UFB *chkufb();
  34. #endif
  35. #endif
  36.